package com.mokairui.nio.c3;

import lombok.extern.slf4j.Slf4j;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/**
 * @Description
 * @Author Mokairui
 * @Since 2021/10/13
 */
@Slf4j(topic = "c.client")
public class Client {
    public static void main(String[] args) throws IOException {
        SocketChannel client = SocketChannel.open();
        client.connect(new InetSocketAddress("localhost", 8080));
        System.out.println("waiting...");
    }
}
